package archive

import (
	"compress/bzip2"
	"io"
)

var Bzip2 = &compressBzip2{}

type compressBzip2 struct{}

func (receiver *compressBzip2) Reader(reader io.Reader) io.Reader {
	bzip2Reader := bzip2.NewReader(reader)

	return bzip2Reader
}

// func (receiver *compressBzip2) Writer(writer io.Writer) error {
// 	bzip2Writer, err := bzip2.(writer)
// }
